<?php

class RegController extends Controller
{
    
   public function index()
   {
       $data = Db::table('stu')->findAll();
       // 分配变量
       $this->assign('data',$data);

       $this->assign('title',"学并思");

       $this->display();

   }
}